package com.example.jin.logactivity;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;

/**
 * Created by JIN on 2017/9/21.
 */

public class LogActivity2 extends AppCompatActivity{
    private static final String TAG = "LIFESTYLE";

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.second);
    }

    @Override
    protected void onStart() {
        Log.v(LogActivity2.TAG, "secondActivity --->onStart");
        super.onStart();
    }

    @Override
    protected void onResume() {
        Log.v(LogActivity2.TAG, "secondActivity --->onResume");
        super.onResume();
    }

    @Override
    protected void onPause() {
        Log.v(LogActivity2.TAG, "secondActivity --->onPause");
        super.onPause();
    }

    @Override
    protected void onStop() {
        Log.v(LogActivity2.TAG, "secondActivity --->onStop");
        super.onStop();
    }

    @Override
    protected void onDestroy() {
        Log.v(LogActivity2.TAG, "secondActivity --->onDestroy");
        super.onDestroy();
    }

    @Override
    protected void onRestart() {
        Log.v(LogActivity2.TAG, "secondActivity --->onRestart");
        super.onRestart();
    }
}
